home *** CD-ROM | disk | FTP | other *** search
/ Young Minds / Young Minds Interactive CD-ROM.ISO / crystal / install < prev    next >
Encoding:
Text File  |  1988-01-12  |  814 b   |  31 lines

  1. echo "Installing Crystal Cave adventure game .... Please wait"
  2. if [ ! -d /usr/games ] ; then
  3.     mkdir /usr/games
  4.     chmod +rwx /usr/games
  5.     chown root /usr/games
  6. fi
  7. if [ ! -d /usr/games/lib ] ; then
  8.     mkdir /usr/games/lib
  9.     chmod +rwx /usr/games/lib
  10.     chown root /usr/games/lib
  11. fi
  12. if [ ! -d /usr/games/lib/crystal ] ; then
  13.     mkdir /usr/games/lib/crystal
  14.     chmod +rwx /usr/games/lib/crystal
  15.     chown root /usr/games/lib/crystal
  16. fi
  17.  
  18. ln crystal /usr/games/crystal
  19. echo "Beware the Gruesome Balrog...."
  20.  
  21. uaupd -r Toybox -a Office Office
  22.  
  23. if [ -r $UA/Toybox ] ; then
  24.     uaupd -r Crystal -a Toybox Toybox
  25. else
  26.     ln Toybox $UA/Toybox
  27.     chmod 666 $UA/Toybox
  28. fi
  29.  
  30. message -i "Crystal is now installed.  After logging out and back in, the selection will appear in your Toybox.\n\nPlease report bugs or problems to Kevin O'Gorman....thanks!"
  31.